using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

public partial class forums_controls_categories_Category : Controls.DataManagerForumCategoryControl
{
    protected override void ItemChanged()
    {
        if (CurrentForumCategory != null)
        {
            lnkCategory.Text = Helpers.StringHelper.SafeFormat(CurrentForumCategory.Name);
            lnkCategory.NavigateUrl = "~/forums/category.aspx?c=" + CurrentForumCategory.ID.ToString();
            Forumgrid1.SetDataSource(CurrentForumCategory.GetForums());
        }
    }
}
